<?php 
global $header;
global $footer;
global $control;
global $message;
global $title,$abbr,$author,$editor,$version,$publisher,$year_published,$description,$source; 
global $serial;

global $featureManager;
$header['title'] = 'Details of '.$title;
$header['head'] = '';
$header['intro'] = '<strong>QuickMerger</strong> is the way you make a dictionary oriented with source glossaries. First prepare your source glossaries, and you may then quickly and easily make your own dictionary with one click. After that, your dictionary is still editable &mdash; add/modify/remove a term or a definition in it, or even sort them. <a href="#">See more</a>. ';
$featureManager->apply("com.yizin.platform.site.header", $header);
$featureManager->apply("com.yizin.platform.site.footer", $footer);
$featureManager->apply("com.yizin.platform.site.control", $control);
?>
<?= $header['html']?>
<div class="container-L">
	<?=$control['html']?>
</div>
<div class="container-R">
	<?=Utils::showMessage($message)?>
	<h3>Glossary details</h3>
	<p class="indent"><a href="<?=REQUEST_BASE?>glossary/<?=$serial?>/edit/">&raquo; Edit the information</a></p>
	<table class="details" style="margin:1em 0">
		<tr>
			<th><label for="title">Title</label></th>
			<td><?=$title?></td>
		</tr>
		<tr>
			<th><label for="abbr">Abbreviation</label></th>
			<td><?=$abbr?></td>
		</tr>
		<tr>
			<th><label for="author">Author</label></th>
			<td><?=$author?></td>
		</tr>
		<tr>
			<th><label for="editor">Editor</label></th>
			<td><?=$editor?></td>
		</tr>
		<tr>
			<th><label for="version">Version</label></th>
			<td><?=$version?></td>
		</tr>
		<tr>
			<th><label for="publisher">Publisher</label></th>
			<td><?=$publisher?></td>
		</tr>
		<tr>
			<th><label for="year_published">Year published</label></th>
			<td><?=$year_published?></td>
		</tr>
		<tr>
			<th><label for="description">Description</label></th>
			<td><?=$description?></td>
		</tr>
		<tr>
			<th><label for="source">Source location</label></th>
			<td><?=$source?></td>
		</tr>
	</table>
	<p class="indent"><a href="<?=REQUEST_BASE?>glossary/<?=$serial?>/show/">&laquo; Return to the terms</a></p>
	<div class="vspacing"></div>
</div>
<?= $footer['html']?>
